package com.ysjy.course.model;

import com.wkbb.common.handler.JsonUtil;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
@ApiModel("课时评价（课堂反馈）")
public class CourseTimeFeedback implements Serializable {

    @ApiModelProperty(value = "ID")
    private Long id;
    @ApiModelProperty(value = "课时ID")
    private Long courseTimeId;
    @ApiModelProperty(value = "学生ID")
    private Long studentId;
    @ApiModelProperty(value = "喜爱度（1-10分，1星=2分）")
    private int likeability;
    @ApiModelProperty(value = "满意度（1-10分，1星=2分）")
    private int satisficing;
    @ApiModelProperty(value = "互动情况（1-10分，1星=2分）")
    private int interact;
    @ApiModelProperty(value = "教学成果（1-10分，1星=2分）")
    private int teaching;
    @ApiModelProperty(value = "补充说明")
    private String feedbackExplain;
    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    public static void main(String[] args) {
        CourseTimeFeedback data = new CourseTimeFeedback();
        data.setCourseTimeId(551L);
        data.setStudentId(1272392L);
        data.setLikeability(9);
        data.setSatisficing(9);
        data.setInteract(9);
        data.setTeaching(9);
        System.out.println(JsonUtil.objectToJson(data));
    }
}